package com.liurui.demo.service;

import com.liurui.demo.pojo.Employee;

import java.util.Collection;

public interface EmployeeService {

    //查询所有员工
    public Collection<Employee> getEmployees();

    //增加一个员工
    public void insert(Employee employee);

    //查询一个员工
    public Employee getEmployeeById(Integer id);

    //删除一个员工
    public void deleteEmployeeById(Integer id);

    //更新一个员工
    public void update(Employee employee);
}
